qqqqq
<fieldset>
  <legend>&nbsp;Person&nbsp;filter&nbsp;</legend>
    <form method="post" action="<!--[pnmodurl modname='VoteDataCenter' type='user' func='list' ctrl='ExtPerson']-->">
      <table>
      <tr>
        <td>search : </td>
        <td><input type="text" name="keyword"></td>
        <td>
          by 
          <select name="type">
            <option value="firstname" selected>ชื่อ
            <option value="lastname">นามสกุล
          </select>
        </td>
        <td><input type="submit" value="submit"></td>
      </tr>
      </table>
    </form><br>
</fieldset>

<!--[if $objectArray]-->
<fieldset>
  <legend>&nbsp;Person&nbsp;information&nbsp;</legend>
  <TABLE width="100%">
    <TR bgcolor="#99CCCC">
      <TH width="5%">id</TH>
      <TH width="10%">province</TH>
      <TH width="10%">district</TH>
      <TH width="10%">tambon</TH>
      <TH width="5%">moo</TH>
      <TH width="5%">house no.</TH>
      <TH width="5%">gender</TH>
      <TH width="10%">firstname</TH>
      <TH width="10%">lastname</TH>
      <TH width="5%"></TH>
    </TR>

  <!--[yppager show=page 
                   img_prev="modules/VoteDataCenter/pnimages/back.png"
                   img_next="modules/VoteDataCenter/pnimages/next.png"
                   rowcount=$pager.numitems 
                   limit=$pager.itemsperpage 
                   posvar=startnum 
                   shift=0 
  ]-->


  <!--[foreach from=$objectArray item=item]-->
      <TR bgcolor="<!--[cycle values='#FFFFFF,#E8EFF7']-->">
        <TD><!--[$item.id]--></TD>
        <TD><!--[$item.pro_name]--></TD>
        <TD><!--[$item.dis_name]--></TD>
        <TD><!--[$item.tam_name]--></TD>
        <TD><!--[$item.moo]--></TD>
        <TD><!--[$item.house_no]--></TD>
        <TD><!--[$item.gen_name]--></TD>
        <TD><!--[$item.firstname]--></TD>
        <TD><!--[$item.lastname]--></TD>
        <TD>
          <a target="_blank" href="<!--[pnmodurl modname='VoteDataCenter' type='user' func='form' ctrl='ExtPerson' id=$item.id]-->">
            <img src="modules/VoteDataCenter/pnimages/pencil.png" />
          </a>
          <a href="<!--[pnmodurl modname='VoteDataCenter' type='user' func='delete' ctrl='Person' id=$item.id forward=1 pro_id=$item.pro_id dis_id=$item.dis_id ]-->" 
             onclick="return confirm('Are you sure you want to delete?')"
          >
            <img src="modules/VoteDataCenter/pnimages/delete.png" />
         </a>
        </TD>
      </TR>
  <!--[/foreach]-->
  </TABLE>
  <!--[yppager show=page 
                   img_prev="modules/VoteDataCenter/pnimages/back.png"
                   img_next="modules/VoteDataCenter/pnimages/next.png"
                   rowcount=$pager.numitems 
                   limit=$pager.itemsperpage 
                   posvar=startnum 
                   shift=0 
  ]-->

</fieldset><BR>
<!--[/if]-->



<BR>
</html>

